<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"></meta>
    <title>left</title>
</head>
<body>
<left th:fragment="lefter">
    <div class="left_col scroll-view">
        <div class="navbar nav_title" style="border: 0;">
            <a th:href="@{/main}" href="/main" class="site_title">
                <i class="fa fa-paw"></i>
                <span>科泰教育CRM</span>
            </a>
        </div>
        <div class="clearfix"></div>
        <!-- menu profile quick info -->
        <div class="profile">
            <div class="profile_pic">
                <img th:src="@{/images/img.jpg}" src="../static/images/img.jpg"
                     alt="..." class="img-circle profile_img">
            </div>
            <div class="profile_info">
                <span>Welcome,</span>
                <h2 th:text="${session.sessionuser.loginname}"></h2>
            </div>
        </div>
        <br/>

        <!-- sidebar menu -->
        <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
            <div class="menu_section">
                <h3>角色</h3>
                <ul class="nav side-menu">
                    <li><a th:href="@{/home/homepage}"><i class="fa fa-edit"></i>后台首页 </a>
                    </li>
                    <li><a th:href="@{/user/userListPage}"><i class="fa fa-edit"></i>门诊管理 <span
                            class="fa fa-chevron-down"></span></a>
                        <ul class="nav child_menu">
                            <li>
                                <a href="/role/list" th:href="@{/user/userListPage}">用户管理</a>
                            </li>
                            <li>
                                <a href="/user/list" th:href="@{/user/registration} ">用户挂号</a>
                            </li>
                            <li>
                                <a href="/role/list" th:href="@{/prescri/mobu}">处方划价</a>
                            </li>
                            <li>
                                <a href="/role/list" th:href="@{/role/list}">项目划价</a>
                            </li>
                            <li>
                                <a href="/role/list" th:href="@{/role/list}">项目缴费</a>
                            </li>
                            <li>
                                <a href="/role/list" th:href="@{/role/list}">项目检查</a>
                            </li>
                            <li>
                                <a href="/role/list" th:href="@{/role/list}">药品缴费</a>
                            </li>
                            <li>
                                <a href="/role/list" th:href="@{/role/list}">门诊患者库</a>
                            </li>
                        </ul>
                    </li>
                    <li><a><i class="fa fa-edit"></i> 住院管理 <span
                            class="fa fa-chevron-down"></span></a>
                        <ul class="nav child_menu">
                            <li>
                                <a href="/hospital/list" th:href="@{/hospital/list}">入院登记</a>
                            </li>
                            <li>
                                <a href="/hospital/paylist" th:href="@{/hospital/paylist}">缴费管理</a>
                            </li>
                            <li>
                                <a href="/role/list" th:href="@{/role/list}">药品记账</a>
                            </li>
                            <li>
                                <a href="/role/list" th:href="@{/role/list}">出院结算</a>
                            </li>
                        </ul>
                    </li>
                    <li><a ><i class="fa fa-edit"></i>排班管理 <span
                            class="fa fa-chevron-down"></span></a>
                        <ul class="nav child_menu">
                            <li>
                                <a href="/paiban/paibanPage" th:href="@{/paiban/paibanPage}">医生排班</a>
                            </li>
                        </ul>
                    </li>
                </ul>

            </div>
        </div>
        <!-- /sidebar menu -->

        <!-- /menu footer buttons -->
        <div class="sidebar-footer hidden-small">
            <a data-toggle="tooltip" data-placement="top" title="设置">
                <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
            </a>
            <a data-toggle="tooltip" data-placement="top" title="全屏">
                <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
            </a>
            <a data-toggle="tooltip" data-placement="top" title="锁定">
                <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
            </a>
            <a data-toggle="tooltip" data-placement="top" title="退出"
               th:href="@{/logout}" href="/logout">
                <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
            </a>
        </div>
        <!-- /menu footer buttons -->
    </div>
</left>
</body>
</html>